//
//  MyBoardUIViewController.h
//  FanTest
//
//  Created by Cheng on 12/6/28.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GDataXMLNode.h"
#import "DetailMyBoardUIViewController.h"
#import "AccountMyBoard.h"
#import "AccountInfo.h"
#import "MyBoardCell.h"
#import "AddMyBoardCell.h"
#import "ShareMyBookView.h"
#import "SendEmailView.h"
#import "SendEmailSuccessView.h"
#import "SelectMyPhoto.h"
#import "QuestionView.h"
#import "EditBookView.h"

@class MyBoardUIViewController;

@protocol MyBoardUIViewControllerDelegate <NSObject>

-(void)MyBoardUIViewControllerDidStream:(UIViewController *)controller;
-(void)MyBoardUIViewControllerDidAccount:(UIViewController *)controller;
-(void)MyBoardUIViewControllerDidFeedSet:(UIViewController *)controller;

@end

@interface MyBoardUIViewController : UIViewController<DetailMyBoardUIViewControllerDelegate, UITextFieldDelegate, UIActionSheetDelegate, ShareMyBookViewDelegate, SendEmailViewDelegate, SendEmailSuccessViewDelegate, SelectMyPhotoDelegate, QuestionViewDelegate, EditBookViewDelegate, UIAlertViewDelegate>
{
    IBOutlet UIScrollView *SVw_Main;
    IBOutlet UIImageView *IVw_AccountPhoto;
    
    IBOutlet AddMyBoardCell *Vw_AddMyBoardCell;
    IBOutlet MyBoardCell *Vw_MyBoardCell;
    IBOutlet EditBookView *Vw_EditBookView;
}

@property (nonatomic, strong) UIScrollView *SVw_Main;
@property (nonatomic, strong) UIImageView *IVw_AccountPhoto;

@property (nonatomic, strong) BK_Enviroment *BK_En_object;
@property (nonatomic, strong) AddMyBoardCell *Vw_AddMyBoardCell;
@property (nonatomic, strong) MyBoardCell *Vw_MyBoardCell;
@property (nonatomic, strong) ShareMyBookView *Vw_ShareMyBook;
@property (nonatomic, strong) SendEmailView *Vw_SendEmail;
@property (nonatomic, strong) SendEmailSuccessView *Vw_SendEmailSuccess;
@property (nonatomic, strong) SelectMyPhoto *Vw_PhotoList;
@property (nonatomic, strong) QuestionView *Vw_QuestionView;
@property (nonatomic, strong) EditBookView *Vw_EditBookView;

@property (nonatomic, strong) NSMutableArray *Array_AccountInfo;

@property (nonatomic, weak) id <MyBoardUIViewControllerDelegate> delegate;

-(IBAction)AddBookPressed:(id)sender;
-(IBAction)SharePressed:(id)sender;
-(IBAction)OpenStream:(id)sender;
-(IBAction)OpenAccount:(id)sender;
-(IBAction)OpenFeedSet:(id)sender;
-(IBAction)MyPhotoPressed:(id)sender;
-(IBAction)QuestionPressed:(id)sender;
-(IBAction)EditPressed:(id)sender;

@end
